package com.exchange.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.exchange.user.dto.SelUserDto;
import com.exchange.user.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户信息表(SysUser)表数据库访问层
 *
 * @author makejava
 * @since 2020-10-11 15:22:29
 */
@Mapper
public interface SysUserDao extends BaseMapper<SysUser> {

    /**
     * 获取用户分页信息
     * @param iPage
     * @param userDto
     * @return
     */
    IPage<SysUser> getPageList(@Param("iPage") IPage<SysUser> iPage, @Param("userDto") SelUserDto userDto);

}
